﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ConnectToDatabase.Model
{
    [Serializable()]
    public class HoaDon
    {
        private string m_sMaHoaDon;
        private DateTime m_dNgayBan;
        private int m_iThanhTien;
        private string m_sLoaiKhachHang;
        private string m_sMaNhanVienBan;

        public string MaNhanVienBan
        {
            get { return m_sMaNhanVienBan; }
            set { m_sMaNhanVienBan = value; }
        }

        public string LoaiKhachHang
        {
            get { return m_sLoaiKhachHang; }
            set { m_sLoaiKhachHang = value; }
        }

        public int ThanhTien
        {
            get { return m_iThanhTien; }
            set { m_iThanhTien = value; }
        }

        public DateTime NgayBan
        {
            get { return m_dNgayBan; }
            set { m_dNgayBan = value; }
        }

        public string MaHoaDon
        {
            get { return m_sMaHoaDon; }
            set { m_sMaHoaDon = value; }
        }
    }
}
